#!/usr/bin/env node

const Koa = require('koa');//大写，类

const app = new Koa();//实例化

console.log('hello world');

app.use((ctx,next)=>{
  //requset parse
  
  //make response
  ctx.body = 'hello Koa';
});

app.listen(8080);




